package com.dodi.spring.conversionService;

import java.util.Date;
import java.util.List;

public class Person {

	private String name;
	public Date birth;
	public List<String> interests;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public List<String> getInterests() {
		return interests;
	}
	public void setInterests(List<String> interests) {
		this.interests = interests;
	}
	
	public void sayHello(){
		System.out.println("hello"+this.name);
	}
}
